package com.example.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhuyc
 * @version 1.0
 * @description TODO
 * @date 2023/11/14 21:20
 */

public class User {
	private int  id;

	private String name;

	private  Student student;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id=id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name=name;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student=student;
	}
}
